A Hands-On Tour Inside the World of PROC SQL.PDF
نویسنده
چکیده
Structured Query Language (PROC SQL) is a database language found in the base-SAS software. It enables access to data stored in SAS data sets or tables using a powerful assortment of statements, clauses, options, functions, and other language features. This hands -on workshop presents core concepts of this powerful language as well as its many applications, and is intended for SAS users who desire an overview of the capabilities of this exciting procedure. Attendees will explore the construction of simple SQL queries, ordering and grouping data, the application of case logic for data reclassification, the creation and use of views, and the construction of simple inner and outer joins. Introduction The SQL procedure is a wonderful tool for querying and subsetting data; restructuring or regrouping data by specifying case expressions ; constructing and using virtual tables known as view; joining two or more tables (up to 32) to explore data relationships . Occasionally, a problem comes along where the SQL procedure is either better suited or easier to use than other more conventional DATA and/or PROC step methods. As each situation presents itself, PROC SQL should be examined to see if its use is warranted for the task at hand. PROC SQL proponents frequently use the power and coding simplicity of the SQL procedure to perform an assortment of common everyday tasks to those requiring a highly complex and analytical approach. Whatever the nature of SQL usage, this paper is intended to present an overview of some of the most exciting features found in PROC SQL. Example Tables The examples used throughout this paper utilize a database of tables. A relational database is a collection of tables. Each table contains one or more columns and one or more rows of data. The example database consists of three tables: CUSTOMERS, MOVIES, and ACTORS. Each table appears below. CUSTOMERS CUST_NO NAME CITY STATE 11321 John Smith Miami FL 44555 Alice Jones Baltimore MD 21713 Ryan Adams Atlanta GA MOVIES CUST_NO MOVIE_NO TITLE RATING CATEGORY 44555 1011 Brave Heart R Action Adventure 21713 3090 Rocky PG Drama 44555 2198 Christmas Vacation PG-13 Comedy 37753 4456 Silence of the Lambs R Suspense ACTORS MOVIE_NO LEADING_ACTOR 1011 Mel Gibson 2198 Chevy Chase 3090 Sylvester Stallone
منابع مشابه
114-31: A Hands-On Tour Inside the World of PROC SQL
Structured Query Language (PROC SQL) is a database language found in the base-SAS software. It enables access to data stored in SAS data sets or tables using a powerful assortment of statements, clauses, options, functions, and other language features. This hands-on workshop presents core concepts of this powerful language as well as its many applications, and is intended for SAS users who desi...
متن کاملIdentifying the Ethical Competencies of International Tour Guides
Background: International tour guides, as the front line of touristschr('39') treatment of the destination community, have a great impact on tourist satisfaction and improve the quality of travel, and moral competencies are important. The purpose of this study is to identify the components of ethical competencies of international tour guides. Method: For conducting research, a mixed method bas...
متن کاملSociological Analyze of Women's Tour Guide Employment constraints on Tourism
Considering the necessity of women employment and the effective role of tourism in increasing job opportunities in this paper, we investigated the constraints provided by this job by using the experiences of women tour guide. The methodology in this study was qualitative and by using the Grounded Theory method. Data were collected by interviews and observations. Sampling method was targeted wit...
متن کاملAn Investigation of the Antecedents of Consumers' Confusion in Purchasing an Outbound Package tour in the City of Isfahan by Fuzzy Delphi Method
The concept of consumer confusion has gained a considerable attention in consumer behavior literature during recent years. However,it is considered as a relatively new concept in marketing, particularly in businesses that provide intangible products such as tourism. This study aimed to investigate factors that potentially influence consumer confusion proneness in purchasing outbound package tou...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007